import pytest
from selenium import webdriver


@pytest.fixture()
def login():
    print("用户已登录")


@pytest.fixture()
def open_browser():
    driver = webdriver.Chrome("D:\Google\Chrome\Application\chrome.exe")
    driver.maximize_window()
    yield driver
    driver.quit()
